<#--配置页面面板属性-->
<#assign pannel_config>
{       "page_config":{
		"page_name":"代码生成",
		"module_name":"system/generate"
		},
		"queryform":{
	          "form_id":"query_form",	
	          "sqlid":"system.generate.query",
	          "fields":[
						 {"name":"table_name","type":"text","label":"表名","div_width":"200","placeholder":"请输入表名"} 
						], 
			   "tab_buttons":[
			  					 {"button_id":"s1","type":"submit","button_name":"查询" } 
			  				 ]
			  },
		"queryresult":{ 
	            "table_id":"adminDatagrid", 
	            "is_load":"true", 
	            "is_page":"true",
	            "width":"680px",
	            "height":"500px",
	            "inputs":"table_name:",
	            "delkey":"table_name",
	            "add_url":"system/generate/add.html",
	            "edit_url":"system/generate/edit.html",
	            "columnlist":[
					           	{"title":"#","field":"","sort":"","style":"","type":"numbers","fixed":"left"},
					           	{"title":"","field":"","sort":"","style":"","checkbox":"true","fixed":"left"},
					           	{"title":"表名","field":"table_name","width":"220" },
					           	{"title":"说明","field":"table_comment","width":"220" },
					           	{"title":"表类型","field":"engine","width":"120" },
								{"title":"创建时间","field":"create_time","width":"160"},
								{"title":"操作","field":"update_time","width":"120","align":"center","fixed":"right","toolbar":"#barTools"}
							],
			    "tab_buttons":[
			    				{"button_id":"b1","button_name":"增加","event":"add","height":"300px","title":"增加表","icon":"&#xe654;"},
			    				{"button_id":"b4","button_name":"刷新","event":"refresh","url":"#","icon":"&#x1002;"}
			    			],      
			    "tools_buttons":[
			    				{"tool_button_id":"t2","button_name":"生成","event":"edit","title":"生成"},
			    				{"tool_button_id":"t3","button_name":"删除","event":"del"}
			    			]           
        	 } 
}
</#assign>
<#--为table 转换需要的qryresult-->
<#assign pannelConfig=pannel_config?eval>
<#include "admin/template/page/comn_query.html">